<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="menu" content="superviseMenu" />
<meta name="nav" content="2" />
<meta name="acc" content="0" />
<title>工地试验室设立授权书</title>
</head>
<body>
	<form
		action="${ctx }/business/labs/notice!input.action?projectId=${param.projectId}&fid=${param.fid}"
		method="post" id="inputForm" class="yform">
		<div id="caption">
			<h6>工地试验室设立授权书</h6>
		</div>
		<input type="hidden" name="id" id="id" value="${id }">
		<div>
			<table class="noborder">
				<tr class="type-text">
					<td>编号</td>
					<td>${code }</td>
				</tr>
				<tr class="type-text">
					<td>工程名称</td>
					<td><pt:labels type="proj" argument1="${pid }" single="true"></pt:labels></td>
				</tr>
				<tr class="type-text">
					<td>部门</td>
					<td>${deptId}
					</td>
				</tr>
				<tr class="type-text">
					<td>公章全称</td>
					<td>${cachet }</td>
				</tr>
				<tr class="type-text">
					<td>负责人</td>
					<td>${principal }</td>
				</tr>
				<tr class="type-text">
					<td>负责人检测工作证</td>
					<td>${principalNum }</td>
				</tr>
				<tr class="type-text">
					<td>授权的试验项目</td>
					<td>${content }</td>
				</tr>
				<tr class="type-text">
					<td>授权有效期开始时间</td>
					<td><fmt:formatDate value="${startDate }" pattern="yyyy-MM-dd" />
					</td>
				</tr>
				<tr class="type-text">
					<td>授权有效期结束时间</td>
					<td><fmt:formatDate value="${endDate }" pattern="yyyy-MM-dd" />
					</td>
				</tr>
				<tr class="type-text">
					<td>授权机构等级</td>
					<td>${agencyLevel }</td>
				</tr>
				<tr class="type-text">
					<td>授权机构名称</td>
					<td>${agencyName }</td>
				</tr>
				<tr class="type-text">
					<td>授权时间</td>
					<td><fmt:formatDate value="${agencyDate }"
							pattern="yyyy-MM-dd" /></td>
				</tr>
				<tr class="type-text">
					<td>授权人</td>
					<td>${agencyer }</td>
				</tr>
				<tr class="type-text">
					<td>备注</td>
					<td>${remark }</td>
				</tr>
			</table>
			<c:if test="${not empty attachments }">
				<div id="caption">
					<h6>${licenseplateNumber}已有附件</h6>
				</div>
				<table>
					<c:forEach items="${attachments }" var="attachment"
						varStatus="state">
						<tr id="tr${state.index }">
							<td colspan="4"><a title="下载"
								href="${ctx}/servlet/annex?id=${attachment.id}">${attachment.upfileFileName}(${attachment.type})<fmt:formatDate
										value="${attachment.fileTime}" pattern="yyyy-MM-dd HH:mm" />
							</a></td>
						</tr>
					</c:forEach>
				</table>
			</c:if>
		</div>
		<div class="type-button">
		<input type="button" class="button" value="关闭" onclick="window.parent.close()">
			<input type="button" value="返回" class="reset"
				onclick="history.back()" />
		</div>
	</form>
</body>
</html>